package com.auxgroup.hr.front.dao.repository;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import com.auxgroup.hr.front.dao.domain.PsCEvaShtGdT;
import com.auxgroup.hr.front.dao.domain.PsCEvaShtGdtPrimary;

/**
 * @author lv-PC
 *
 */
@Repository
public interface PsCEvaShtGdtRepository extends
JpaRepository<PsCEvaShtGdT,PsCEvaShtGdtPrimary>,JpaSpecificationExecutor<PsCEvaShtGdT> {
	
	@Query(" from PsCEvaShtGdT where cEvaSheetId=:sheetid and cEvaQuestion=:queid")
	public List<PsCEvaShtGdT> getGdsBySheetAndQueid(@Param("sheetid") String sheetid,@Param("queid") String queid);
}